{# **
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Open Software License (OSL 3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/OSL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https://devdocs.prestashop.com/ for more information.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
 * #}
<div class="card d-none" id="shipping-block">
  <h3 class="card-header">
    {{ 'Shipping'|trans({}, 'Admin.Actions') }}
  </h3>
  <div class="card-body">

    <form class="js-shipping-form d-none">
      <div class="form-group row">
        <label class="col-md-6 col-xl-3 text-md-right col-form-label" for="delivery-option-select">
          {{ 'Delivery option'|trans({}, 'Admin.Orderscustomers.Feature') }}
        </label>
        <div class="col-md-6 col-xl-4">
          <select class="form-control" id="delivery-option-select" name="carrier-id"></select>
        </div>
      </div>
      <div class="form-group row">
        <span class="col-md-6 col-xl-3 text-md-right col-form-label">
          {{ 'Shipping price (Tax incl.)'|trans({}, 'Admin.Orderscustomers.Feature') }}
        </span>
        <div class="col-md-6 col-xl-4">
          <span class="js-total-shipping-tax-inc font-weight-bold"></span>
        </div>
      </div>
      <div class="form-group row">
        <label class="col-md-6 col-xl-3 text-md-right col-form-label" for="free-shipping_0">
          {{ 'Free shipping'|trans({}, 'Admin.Shipping.Feature') }}
        </label>
        <div class="col-md-6 col-xl-4">
        <span class="ps-switch">
          <input id="free-shipping_0" class="js-free-shipping-switch" name="free_shipping" value="0" type="radio">
          <label for="free-shipping_0">{{ 'No'|trans({}, 'Admin.Global') }}</label>
          <input id="free-shipping_1" class="js-free-shipping-switch" name="free_shipping" value="1" checked="" type="radio">
          <label for="free-shipping_1">{{ 'Yes'|trans({}, 'Admin.Global') }}</label>
          <span class="slide-button"></span>
        </span>
        </div>
      </div>
      <div class="form-group row {% if not recycledPackagingEnabled %}d-none{% endif %}">
        <label class="col-md-6 col-xl-3 text-md-right col-form-label" for="recycled-packaging_0">
          {{ 'Recycled packaging'|trans({}, 'Admin.Orderscustomers.Feature') }}
        </label>
        <div class="col-md-6 col-xl-4">
          <span class="ps-switch">
            <input id="recycled-packaging_0" class="js-recycled-packaging-switch" name="recycled_packaging" value="0" checked="" type="radio">
            <label for="recycled-packaging_0">{{ 'No'|trans({}, 'Admin.Global') }}</label>
            <input id="recycled-packaging_1" class="js-recycled-packaging-switch" name="recycled_packaging" value="1" type="radio">
            <label for="recycled-packaging_1">{{ 'Yes'|trans({}, 'Admin.Global') }}</label>
            <span class="slide-button"></span>
          </span>
        </div>
      </div>
      <div class="form-group row {% if not giftSettingsEnabled %}d-none{% endif %}">
        <label class="col-md-6 col-xl-3 text-md-right col-form-label" for="is-gift_0">
          {{ 'Gift'|trans({}, 'Admin.Orderscustomers.Feature') }}
        </label>
        <div class="col-md-6 col-xl-4">
          <span class="ps-switch">
            <input id="is-gift_0" class="js-is-gift-switch" name="is_gift" value="0" checked="" type="radio">
            <label for="is-gift_0">{{ 'No'|trans({}, 'Admin.Global') }}</label>
            <input id="is-gift_1" class="js-is-gift-switch" name="is_gift" value="1" type="radio">
            <label for="is-gift_1">{{ 'Yes'|trans({}, 'Admin.Global') }}</label>
            <span class="slide-button"></span>
          </span>
        </div>

      </div>
      <div class="form-group row type-text {% if not giftSettingsEnabled %}d-none{% endif %}">
        <label class="col-md-6 col-xl-3 text-md-right col-form-label" for="cart_gift_message">
          {{ 'Gift message'|trans({}, 'Admin.Orderscustomers.Feature') }}
        </label>
        <div class="col-md-6 col-xl-4">
          <textarea id="cart_gift_message" name="cart_gift_message" class="form-control" cols="40" rows="4"></textarea>
        </div>
      </div>
    </form>

    <div class="js-no-carrier-block d-none">
      <div class="alert alert-warning">
        <div class="alert-text">
          {{ 'No carrier can be applied to this order'|trans({}, 'Admin.Orderscustomers.Notification') }}
        </div>
      </div>
    </div>
  </div>
</div>
